package com.garygyp.ucenter.service;

import com.garygyp.ucenter.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.garygyp.ucenter.entity.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author GaryGyp
 * @since 2022-05-17
 */
public interface MemberService extends IService<Member> {

    // 登录
    String login(Member member);

    // 注册
    void register(RegisterVo registerVo);

    // 根据openid查询
    Member getOpenIdMember(String openid);

    // 5. 查询某一天的注册人数
    Integer countRegisterDay(String day);
}
